﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Paginacion.aspx.vb" Inherits="ProjectProdFact.Paginacion" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">
        .style5
        {
            width: 100%;
        }
        .style6
        {
            color: #FFFFFF;
            font-family: "Arial Black";
            text-align: center;
        }
        .style7
        {
            width: 154px;
            color: #FFFFFF;
            font-family: "Arial Black";
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">


    <table class="style5">
        <tr>
            <td bgcolor="#333333" class="style6">
                Factura</td>
        </tr>
    </table>
    <table class="style5">
        <tr>
            <td bgcolor="#F0F0F0">
                <table class="style5">
                    <tr>
                        <td bgcolor="#333333" class="style7">
                            <strong>Descripción Factura</strong></td>
                        <td>
                            <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" 
                                DataSourceID="SqlDataSource2" DataTextField="ObservacionFactura" 
                                DataValueField="ObservacionFactura">
                            </asp:DropDownList>
                            <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                                ConnectionString="<%$ ConnectionStrings:Bdd_VentasConnectionString2 %>" 
                                SelectCommand="SELECT [ObservacionFactura] FROM [Factura]">
                            </asp:SqlDataSource>
    <asp:Button ID="Button1" runat="server" Text="Aceptar" style="height: 26px" />
                            <br />
                            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                        </td>
                    </tr>
                </table>
                <br />
&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                    DataSourceID="SqlDataSource1">
                    <Columns>
                        <asp:CommandField ShowSelectButton="True" />
                        <asp:BoundField DataField="ObservacionFactura" HeaderText="ObservacionFactura" 
                            SortExpression="ObservacionFactura" />
                        <asp:BoundField DataField="Fecha" HeaderText="Fecha" SortExpression="Fecha" />
                        <asp:BoundField DataField="Total" HeaderText="Total" SortExpression="Total" />
                    </Columns>
                </asp:GridView>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:Bdd_VentasConnectionString %>" 
                    SelectCommand="SELECT [ObservacionFactura], [Fecha], [Total] FROM [Factura]">
                </asp:SqlDataSource>
                <br />
                <br />
    <br />
    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" PageSize="2" 
        AllowSorting="True" ShowFooter="True">
    </asp:GridView>
                <br />
                <br />
                <br />
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
        </tr>
    </table>


</asp:Content>
